import {reactive} from 'vue'
import {defineStore} from 'pinia'

export const userAppStore = defineStore('appStore', () => {
    const sidebar = reactive({
        opened: false
    })

    function toggleSidebar() {
        sidebar.opened = !sidebar.opened
    }

    return {
        sidebar,
        toggleSidebar
    }
})